import React from 'react';
import MyIcon from '@/components/MyIcon';

export function createIcon(icon: string) {
  if (!icon) return;
  return <MyIcon fontSize={'16px'} name={icon} />;
}
